OCPBUGS-22095: Add default MCP objects for rendering#833
Conversation
6795b56 to
085b2c6
Compare
pkg/performanceprofile/controller/performanceprofile/components/consts.go
Outdated
Show resolved
Hide resolved
|
@eggfoobar I like the direction, but we should open a bug for this to allow backports and probably make the commit messages a bit nicer. |
|
/retitle OCPBUGS-22095: [WIP] Add default MCP objects for rendering |
|
@eggfoobar: This pull request references Jira Issue OCPBUGS-22095, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/jira refresh |
|
@MarSik: This pull request references Jira Issue OCPBUGS-22095, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
085b2c6 to
800c055
Compare
91c935e to
d8645e9
Compare
d8645e9 to
90d2bca
Compare
|
I will prefer a better error handling than returning "ok" when there is no PP but other than that LGTM. |
Signed-off-by: ehila <ehila@redhat.com>
d1f5f59 to
1d3c5c3
Compare
|
@eggfoobar: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eggfoobar, MarSik The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cc @jmencak because it impacts non-perfprof code |
|
/hold |
Thank you Francesco. I don't have a problem with this change. |
|
@eggfoobar: Jira Issue OCPBUGS-22095: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-22095 has been moved to the MODIFIED state. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[ART PR BUILD NOTIFIER] This PR has been included in build cluster-node-tuning-operator-container-v4.16.0-202401171849.p0.g098f41e.assembly.stream for distgit cluster-node-tuning-operator. |
|
/cherry-pick release-4.15 |
|
@MarSik: #833 failed to apply on top of branch "release-4.15": DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
* feat: update render command to create default MCPs added default MCP creation to help correctly render out the resources for performance profile to use Signed-off-by: ehila <ehila@redhat.com> upkeep: fix spelling Signed-off-by: ehila <ehila@redhat.com> * feat: add default mcpools to tuned renderer Signed-off-by: ehila <ehila@redhat.com> --------- Signed-off-by: ehila <ehila@redhat.com>
* NTO: Add MCP name to filter PP (#878) render-bootcmd-mc can only compute the kernel args for a MachineConfigPool that matches the node it is executed on, so we add the MachineConfigPool name as input parameter to filter the applicable PerformanceProfiles. Signed-off-by: Jose Luis Ojosnegros Manchón <jojosneg@redhat.com> * OCPBUGS-22095: Add default MCP objects for rendering (#833) * feat: update render command to create default MCPs added default MCP creation to help correctly render out the resources for performance profile to use Signed-off-by: ehila <ehila@redhat.com> upkeep: fix spelling Signed-off-by: ehila <ehila@redhat.com> * feat: add default mcpools to tuned renderer Signed-off-by: ehila <ehila@redhat.com> --------- Signed-off-by: ehila <ehila@redhat.com> * Enhance render sync to include bootstrap rendering tests * Render MC without additional PP This command should render a MC from the available sources. PerformanceProfile is a source, but it is not mandatory. So, as there are scenarios where this command should work with no additional PP let's the command proceed even if there is no PP Signed-off-by: Jose Luis Ojosnegros Manchón <jojosneg@redhat.com> * Render sync --------- Signed-off-by: Jose Luis Ojosnegros Manchón <jojosneg@redhat.com> Signed-off-by: ehila <ehila@redhat.com> Co-authored-by: Jose Luis Ojosnegros <jojosneg@redhat.com> Co-authored-by: E Hila <ehila@redhat.com>
…ift#928) * NTO: Add MCP name to filter PP (openshift#878) render-bootcmd-mc can only compute the kernel args for a MachineConfigPool that matches the node it is executed on, so we add the MachineConfigPool name as input parameter to filter the applicable PerformanceProfiles. Signed-off-by: Jose Luis Ojosnegros Manchón <jojosneg@redhat.com> * OCPBUGS-22095: Add default MCP objects for rendering (openshift#833) * feat: update render command to create default MCPs added default MCP creation to help correctly render out the resources for performance profile to use Signed-off-by: ehila <ehila@redhat.com> upkeep: fix spelling Signed-off-by: ehila <ehila@redhat.com> * feat: add default mcpools to tuned renderer Signed-off-by: ehila <ehila@redhat.com> --------- Signed-off-by: ehila <ehila@redhat.com> * Enhance render sync to include bootstrap rendering tests * Render MC without additional PP This command should render a MC from the available sources. PerformanceProfile is a source, but it is not mandatory. So, as there are scenarios where this command should work with no additional PP let's the command proceed even if there is no PP Signed-off-by: Jose Luis Ojosnegros Manchón <jojosneg@redhat.com> * Render sync --------- Signed-off-by: Jose Luis Ojosnegros Manchón <jojosneg@redhat.com> Signed-off-by: ehila <ehila@redhat.com> Co-authored-by: Jose Luis Ojosnegros <jojosneg@redhat.com> Co-authored-by: E Hila <ehila@redhat.com>
added ability to use the default rmaster worker mcp labels for rendering during boostrap
/hold